<div class="user-ajax">
  <form id="user-login">
    <input name="user_name" id="user_name" type="text" placeholder="用户名或邮箱或手机">
    <input name="user_password" id="user_password" type="password" placeholder="您的密码">
    {notempty name="GLOBALS['config']['user']['sys']['user_verify']"}
    <div class="img-code">
      <input data="validate" name="validate" type="text" placeholder="验证码">
      <img class="validate-img" src="{:url('home/verify/index',array('t'=>time()))}">
    </div>
    {/notempty}
    <div class="memory">
      <input type="checkbox" name="cookietime" id="cookietime" checked="checked" value="2592000" />
      <input type="hidden" name="notforward" id="notforward" value="1">
      <label><input type="hidden" name="dosubmit" id="dosubmit" value="1">记住我的登录</label>
      <label><a rel="nofollow" href="{:zanpian_user_url('user/login/forgetpwd')}" target="_blank" class="text-color"> 忘记密码？ </a></label>
      <div class="no-user">没有账号？去注册</div>
    </div>
    <button type="button" id="login-submit">登录</button>
  </form>
  <div class="login-ico">
    <a class="qq pull-left" rel="nofollow" {notempty name="GLOBALS['config']['user']['api']['qq_appid']"}{notempty name="GLOBALS['config']['user']['api']['auth']"} href="{:zanpian_user_url('user/snslogin/qq')}" target="_self"{else/}id="addsns" data-id="qq"{/notempty}{/notempty}><i class="icon iconfont">&#xe73e;</i></a>
    <a class="weixin" rel="nofollow" {notempty name="GLOBALS['config']['user']['api']['weixin_appid']"}{notempty name="GLOBALS['config']['user']['api']['auth']"} href="{:zanpian_user_url('user/snslogin/weiqrcode')}" target="_self"{else/}id="addsns" data-id="weiqrcode"{/notempty}{/notempty}><i class="icon iconfont">&#xe73b;</i></a>
    <a class="weibo pull-right" rel="nofollow" {notempty name="GLOBALS['config']['user']['api']['weibo_appid']"}{notempty name="GLOBALS['config']['user']['api']['auth']"} href="{:zanpian_user_url('user/snslogin/weibo')}" target="_self"{else/}id="addsns" data-id="weibo"{/notempty}{/notempty}><i class="icon iconfont">&#xe73c;</i></a>
  </div>
</div>